package qing.entity;

import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;

import java.util.Date;
import java.util.List;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotBlank;


public class Navi  extends AbstractEntity<String>  {

	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	private String id;	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	private String title;	
	
	private String subtitle;
	
	private String linkurl;	
		
	private String cssstyle;
	
	private List<Navi> list;

	

	public List<Navi> getList() {
		return list;
	}

	public void setList(List<Navi> list) {
		this.list = list;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}

	public String getLinkurl() {
		return linkurl;
	}

	public void setLinkurl(String linkurl) {
		this.linkurl = linkurl;
	}

	public String getCssstyle() {
		return cssstyle;
	}

	public void setCssstyle(String cssstyle) {
		this.cssstyle = cssstyle;
	}

	public Navi() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Navi(String title, String subtitle, String linkurl, String cssstyle, List<Navi> list) {
		super();
		this.title = title;
		this.subtitle = subtitle;
		this.linkurl = linkurl;
		this.cssstyle = cssstyle;
		this.list = list;
	}





	
	
	
}
